<template>
  <div>
    <h1>{{name}}</h1>
    <h1>{{age}}</h1>
  </div>
</template>

<script>
export default {
  // eslint-disable-next-line vue/multi-word-component-names
  name: 'Student',
  data() {
    return {
      name: 'Student',
    }
  },
  methods: {

  },
  props:{
    age:{
      type:Number,
      default:18
    }
  }
}
</script>